<?php
  $id = $_GET['id'];
  $bool = $_GET['bool'];
  $con = mysql_connect("mysql1.000webhost.com", "a7424976_info", "thebest5");
	$res = mysql_select_db("a7424976_info");
	
	$query = mysql_query("UPDATE security SET state=$id");
  if ($bool == NULL){
	header("location: Security.html");
  }
?>